<!doctype html>
<html lang="en">
<head>
    <title>法门寺免费WIFI统计平台</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="language" content="en"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <meta name="Author" contect="Mr.He"/>
    <link rel="stylesheet" href="css/pv.css"/>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
    <script>
        $(function(){
            $("#content").children().remove();
            $.getJSON(jsonurl+"?version=1&module=fms_pageview_find_all",function(result){
                var datas=result.Variables;
                $.each(datas.data,function(index,items){
                    var itemDiv=$("<div>");
                    itemDiv.addClass("item");
                    var descHtml='<div class="desc">' +
                            '<span style="font-size: 1.4em;font-weight: bold"> '+items.fname+'</span>' +
                            '<br/><br/>' +
                            (index==0?"访问量":"点击量")+'：<span style="font-size: 1.2em;font-weight: bold;color: #006666">'+items.pageview+'</span>' +
                            '</div>';
                    itemDiv.html(descHtml);
                    itemDiv.appendTo($("#content"));
                })
            });
        })
    </script>
</head>

<body>

<div class="container" id="page">
    <div id="header">
        <div id="logo">法门寺免费WIFI统计平台</div>
    </div>
    <div id="content">
    </div>
</div>

</body>
</html>
